# coding=UTF-8
list=[1]*31;
for index in range(len(list)) :
    list[index]=2**index;
    
#for index in range(len(list)) :
#    print list[index];
print list;